package com.hopes.bizz.packet.hj212.support;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;
import java.util.Map;

/**
 * @author daijie
 * @version 1.0
 * @date 2023/2/28 16:06
 * @Description:
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "hj212")
public class Hj212DataStore {
    /**
     * 外层key为mn号（监控点编码），内层key为factorCode（因子编码），value为alarmType（报警类型）
     **/
    private Map<String, Map<String, Integer>> factorAlarmMap = new HashMap<>();

    /**
     * key为要替换的因子data key值，value为替换后的因子data key值
     **/
    private Map<String, String> substringMap = new HashMap<>();
}
